package com.jar.exercise.网络编程.UDP连接.threadsocket;

import java.net.DatagramSocket;
import java.net.SocketException;

/**
 * @author 松鼠
 * @date 2019/6/30 -  21:46
 */
public class ChatRoom {
	public static void main(String[] args) throws SocketException {
		Server server = new Server(new DatagramSocket(8120));
		Sender sender = new Sender();
		new Thread(server).start();
		new Thread(sender).start();
	}
}
